const arr=[105, 202, 208, 300, 76, 55, 'c', 'm', 'car', '78', 100, 'm', 'n']
const digitarr=[]
const chararr=[]
console.log(arr.sort())
arr.map(x=>{typeof(x)=="number"?(x%3==0?digitarr.push(x):false):chararr.push(x)})
console.log(digitarr);
console.log(chararr);